package com.jrx.anytxn.param.entity;

import java.util.Date;

/**
 *  
 * 表:pr_card_roll_info  卡券基本信息
 * @author SGtai
 * @date 2023-08-29
 */
public class PrCardRollInfo {

    /**
     *  ID
     * 表字段:id
     */
    private Long id;

    /**
     * 租户ID
     * 表字段:tenant_id
     */
    private String tenantId;

    /**
     * 卡券ID
     * 表字段:card_roll_id
     */
    private String cardRollId;

    /**
     * 卡券名称
     * 表字段:card_roll_name
     */
    private String cardRollName;

    /**
     * 卡券类型：0-卡密 1-直冲
     * 表字段:card_roll_type
     */
    private String cardRollType;

    /**
     * 入库数量
     * 表字段:store_quantity
     */
    private Integer storeQuantity;

    /**
     * 剩余库存
     * 表字段:residue_repertory
     */
    private Integer residueRepertory;

    /**
     * 启用状态：0-未启用 1-启用
     * 表字段:invoke_state
     */
    private String invokeState;

    /**
     * *有效期-生效日期：YYYYMMDD
     * 表字段:effective_date
     */
    private String effectiveDate;

    /**
     * *有效期-失效日期：YYYYMMDD
     * 表字段:expire_date
     */
    private String expireDate;

    /**
     * 创建时间
     * 表字段:create_time
     */
    private Date createTime;

    /**
     * 最后更新时间
     * 表字段:update_time
     */
    private Date updateTime;

    /**
     * 最后更新操作员
     * 表字段:update_by
     */
    private String updateBy;

    /**
     * 记录版本号
     * 表字段:record_version_number
     */
    private Integer recordVersionNumber;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getCardRollId() {
        return cardRollId;
    }

    public void setCardRollId(String cardRollId) {
        this.cardRollId = cardRollId;
    }

    public String getCardRollName() {
        return cardRollName;
    }

    public void setCardRollName(String cardRollName) {
        this.cardRollName = cardRollName;
    }

    public String getCardRollType() {
        return cardRollType;
    }

    public void setCardRollType(String cardRollType) {
        this.cardRollType = cardRollType;
    }

    public Integer getStoreQuantity() {
        return storeQuantity;
    }

    public void setStoreQuantity(Integer storeQuantity) {
        this.storeQuantity = storeQuantity;
    }

    public Integer getResidueRepertory() {
        return residueRepertory;
    }

    public void setResidueRepertory(Integer residueRepertory) {
        this.residueRepertory = residueRepertory;
    }

    public String getInvokeState() {
        return invokeState;
    }

    public void setInvokeState(String invokeState) {
        this.invokeState = invokeState;
    }

    public String getEffectiveDate() {
        return effectiveDate;
    }

    public void setEffectiveDate(String effectiveDate) {
        this.effectiveDate = effectiveDate;
    }

    public String getExpireDate() {
        return expireDate;
    }

    public void setExpireDate(String expireDate) {
        this.expireDate = expireDate;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Integer getRecordVersionNumber() {
        return recordVersionNumber;
    }

    public void setRecordVersionNumber(Integer recordVersionNumber) {
        this.recordVersionNumber = recordVersionNumber;
    }

    @Override
    public String toString() {
        return "CardRollInfo{" +
                "id=" + id +
                ", tenantId='" + tenantId + '\'' +
                ", cardRollId=" + cardRollId +
                ", cardRollName='" + cardRollName + '\'' +
                ", cardRollType='" + cardRollType + '\'' +
                ", storeQuantity=" + storeQuantity +
                ", residueRepertory=" + residueRepertory +
                ", invokeState='" + invokeState + '\'' +
                ", effectiveDate='" + effectiveDate + '\'' +
                ", expireDate='" + expireDate + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", updateBy='" + updateBy + '\'' +
                ", recordVersionNumber=" + recordVersionNumber +
                '}';
    }
}